﻿@model EPiServer.SpecializedProperties.LinkItemCollection
<ul>
	@foreach (var link in Model)
	{
		var pageLink = @link.GetPage();
		<li>
			@if (pageLink != null)
			{
				<a href="@pageLink.GetHref()">@pageLink.GetMainTitle()</a>
			}
            else
			{
				@Html.PageLink(link);
			}
		</li>
	}
</ul>